package cn.iocoder.yudao.module.spot.vo;

import cn.iocoder.yudao.module.spot.entity.SpotEntity;
import org.springframework.beans.BeanUtils;

public class SpotVo {
    private String smc; //省
    private String dsmc; //市
    private String qxmc; //县
    private String ksztbh; //主体编号
    private String tbbh; // 图斑编号
    private Double zxjd; // 中心经度
    private Double zxwd; // 中心纬度
    private String tbtymj; // 图斑面积
    private Integer bigclassId; //图斑大类 1:历史遗留矿山 2：有责任主体的废弃矿山 3：其他情形
    private Integer approveFlag; //审批状态 0：待审 1：归档 2 驳回

    public String getSmc() {
        return smc;
    }

    public void setSmc(String smc) {
        this.smc = smc;
    }

    public String getDsmc() {
        return dsmc;
    }

    public void setDsmc(String dsmc) {
        this.dsmc = dsmc;
    }

    public String getQxmc() {
        return qxmc;
    }

    public void setQxmc(String qxmc) {
        this.qxmc = qxmc;
    }

    public String getKsztbh() {
        return ksztbh;
    }

    public void setKsztbh(String ksztbh) {
        this.ksztbh = ksztbh;
    }

    public String getTbbh() {
        return tbbh;
    }

    public void setTbbh(String tbbh) {
        this.tbbh = tbbh;
    }

    public Double getZxjd() {
        return zxjd;
    }

    public void setZxjd(Double zxjd) {
        this.zxjd = zxjd;
    }

    public Double getZxwd() {
        return zxwd;
    }

    public void setZxwd(Double zxwd) {
        this.zxwd = zxwd;
    }

    public String getTbtymj() {
        return tbtymj;
    }

    public void setTbtymj(String tbtymj) {
        this.tbtymj = tbtymj;
    }

    public Integer getBigclassId() {
        return bigclassId;
    }

    public void setBigclassId(Integer bigclassId) {
        this.bigclassId = bigclassId;
    }

    public Integer getApproveFlag() {
        return approveFlag;
    }

    public void setApproveFlag(Integer approveFlag) {
        this.approveFlag = approveFlag;
    }



    public static SpotVo fromSpotEntity(SpotEntity entity){
        SpotVo vo = new SpotVo();
        BeanUtils.copyProperties(entity,vo);
        return vo;
    }
}
